from django.conf.urls import url

from . import views

urlpatterns = [
    # 登录
    url(r'^login/$', views.login),

    # 登出
    url(r'^logout/$', views.logout),

    # 注册
    url(r'^register/$', views.register),

    # 用户信息
    url(r'^profile/(?P<username>\w+)$', views.profile),

    # 修改密码
    url(r'^changePassword/(?P<username>\w+)$', views.change_password),
]
